package com.woniu.cq.medical.controller.component;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CustomException extends RuntimeException{

    private String code;

    public CustomException(String code,String message){
        super(message);
        this.code=code;
    }

}
